package com.sw.c.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sw.c.pojo.entity.Role;
import com.sw.c.pojo.vo.RolePage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 角色表(Role)表数据库访问层
 *
 * @author makejava
 * @since 2024-04-16 12:31:44
 */
@Mapper
public interface RoleDao extends BaseMapper<Role> {

    IPage<Role> getPageList(Page page,@Param("r") RolePage rolePage);

    void delRole(Integer id);
}

